package org.dbutils.dao;

import org.dbutils.entity.Staff;

import java.util.List;
import java.util.Map;

/**
 * @author ZQX
 * @date 2025-02-27
 */
public interface HandlerDao {

    Map<String, Object> selectById4Map(int id);

    List<Map<String, Object>> selectAll4MapList();

    Staff selectById4Bean(int id);

    List<Staff> selectAll4BeanList();

    String selectById4ColumnName(int id);

    Long selectByCount();

    List<String> selectAllName();

    Object[] selectById4Array(int id);

    List<Object[]> selectAll4ArrayList();
}
